join


Create a string by joining together list elements

Syntax

join list [ joinString ]

Description

The list argument must be a valid Tcl list. This command returns the string formed by joining all of the elements of list together with joinString separating each adjacent pair of elements. The joinString argument defaults to a space character.